< Prev(J) / Next(K) > / View :

Filename: /text/scalc/01/func_date.xhp

(bookmark: bm_id3155511)
DATE function

DATE 関数
(bookmark: bm_id3149022)

(variable: date)DATE
(variable: date)DATE(hd_id3155511.3)

This function calculates a date specified by year, month, day and displays it in the cell's formatting. The default format of a cell containing the DATE function is the date format, but you can format the cells with any other number format.
この関数は、年、月、日で指定された日付を計算し、それをセルの書式設定に従って表示します。 DATE 関数を含むセルの標準書式は日付書式ですが、ほかの数の書式でセルの書式を設定することもできます。(par_id3153551.4)

Syntax
構文(hd_id3148590.5)

DATE(Year; Month; Day)
DATE(年; 月; 日)(par_id3150474.6)

Year is an integer between 1583 and 9957 or between 0 and 99.
Year は、1583 ~ 9957 の間、または 0 ~ 99 の間の整数です。(par_id3152815.7)

In (in case of MAC)Office - Preferences(/in case of MAC)(in other case)Tools - Options(/in other case) - Office - General you can set from which year a two-digit number entry is recognized as 20xx.
[PO-fuzzy@scalc\01.po] ※※※未訳※※※(par_id3153222.174)

Month is an integer indicating the month.
Month は月を示す整数です。(par_id3155817.8)

Day is an integer indicating the day of the month.
Day は日付を示す整数です。(par_id3153183.9)

If the values for month and day are out of bounds, they are carried over to the next digit. If you enter =DATE(00;12;31) the result will be 12/31/00. If, on the other hand, you enter =DATE(00;13;31) the result will be 1/31/01.
月日の値は、境界外の場合、次の桁に繰り越されます。=DATE(00;12;31) を入力すると、結果は 12/31/00 です。一方、=DATE(00;13;31) を入力すると、結果は 1/31/01 です。(par_id3156260.10)

Example
(hd_id3147477.12)

=DATE(00;1;31) yields 1/31/00 if the cell format setting is MM/DD/YY.
セル書式設定が MM/DD/YY の場合、=DATE(00;1;31) は 1/31/00 を返します。(par_id3152589.16)


< Prev / Next >